//
//  RootViewController.h
//  reacticons
//
//  Created by Nong Nghia on 4/14/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIGridView.h"
#import "UIGridViewCell+DownloadImage.h"
#import "LoadingView.h"
#import "HeaderViewController.h"
#import "SearchTagViewController.h"
@class TumblrRequestHelper;

@interface RootViewController : UIViewController <UIGridViewDataSource, 
UIGridViewDelegate, 
UISearchBarDelegate,
HeaderViewDelegate,
UIAlertViewDelegate,
SearchTagDelegate>
{
    SearchTagViewController * _searchTagList;
    UIGridView * itemGridView;
    
    NSMutableArray * folderList;
    
    NSInteger itemPerRow;
    NSString * parentID;
    
    BOOL enableReOrder;
    BOOL isReloadingData;
    BOOL headerShown;
    UIBarButtonItem * settingBtn;
    HeaderViewController * headerController;
    TumblrRequestHelper *tumRequest;
}

@property (nonatomic, assign) NSInteger itemPerRow;
@property (nonatomic, retain) NSString * parentID;

-(void)clickedHeaderBtn:(id)sender;
@end
